﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WpfSnqkGasAnalysis.Model;

namespace WpfSnqkGasAnalysis.IData
{
    /// <summary>
    /// 特殊报告。数据接口
    /// </summary>
    /// 创建时间：2022-12-15 16:18:04。作者：王浩力
    public interface ITeshu_gasDAL
    {
        Teshu_gas Get(long id);
        IResult Add(Teshu_gas teshu_Gas);

        IResult Edit(Teshu_gas teshu_Gas);

        IResult Delete(Teshu_gas teshu_Gas);

        /// <summary>
        /// 分页
        /// </summary>
        /// <param name="where"></param>
        /// <param name="p"></param>
        /// <param name="rows"></param>
        /// <returns></returns>
        /// 创建时间：2022-12-15 16:19:17。作者：王浩力
        PageModel<Teshu_gas> Page(Teshu_gas where, int p, int rows);

        /// <summary>
        /// 审核
        /// </summary>
        /// <param name="teshu_Gas"></param>
        /// <param name="isEdited">是否修改了数据</param>
        /// <returns></returns>
        /// 创建时间：2022-12-22 13:58:26。作者：王浩力
        IResult Check(Teshu_gas_check_history history);

    }
}
